<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>商品详情</title>
</head>
<body>
    <h1>商品详情</h1>
    <div id="goods">
        
    </div>
    <!-- <img src="./img/display_251499_1.jpg" /> -->
    <!-- <img src="编码" /> -->
    <img src="
    ADuxGMRFQEMUaxTFRsWtUULGwE7sVxe5CUbG7G2ssRAVBwB4xEMcEa6z58fZzHs//vXedfc5e99x7vjX
    zn/dm7s5v7++sHWutvY0sRsAIzERgG2NjBIzAbARMEM8OIzAHARPE08MImCCeA0agDgFrkDrcnGsiCJg
    gExlod7MOAROkDjfnmggCJshEBtrdrEPABKnDzbkmgoAJMpGBdjfrEDBB6nBzrokgYIJMZKDdzToETJA
    63JxrIgiYIBMZaHezDgETpA4355oIAibIRAba3axDwASpw825JoKACTKRgXY36xAwQepwc66JIGCCTGS
    g3c06BEyQOtycayIImCATGWh3sw4BE6QON+eaCAImyEQG2t2sQ8AEqcPNuSaCgAkykYF2N+sQMEHqcHO
    uiSBggix3oM8maQdJVyz/8v9/SzpK0rGSfiDpeEl/XW4zdVZJd5J0qUbt+FHp83calV9drAlSDV2vjKe
    X9LDyd7EFJZ0g6cXl71+9aq3LvLukj0g6b132cK4/SLqnpA+FcyQkNEESQN6qirsWYlyzY9XfLCQ5tGO
    +vsm/J+nKfQsJ5v+KpD2CaVOSmSApMJ9ayQUlvVLS7XpW+T5JD5R0Ys9yItkvI4nlT6ZsL+mHmRXOq8s
    EyRmJaxRydNUas1p3eCEJWqWl3EDS51tWsEHZN5R0WHKdM6szQdqPxN6FHNsNXNVJhSTvGbjcLYszQRq
    C66Klh5Z9Q0ssHiXpoEYVmCCNgHWxmybtI5KAeKk2kXFoMUGGRtTl6QJlSXX7ZCw+KGkfSb8bsF4TZEA
    wXZS0cyHHbksC49uS9pM01ObdBFnSQK5jtbeR9CpJF1py59AgHAO/c4B2mCADgOgipIdIes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kDrcnGsiCJggExlod7MOAROkDjfnmggCJshEBtrdrEPABKnDzbkmgoAJMpG
    BdjfrEDBB6nBzrokgYIJMZKDdzToE/gtaRhH2dGxkBQAAAABJRU5ErkJggg==" />
    <script>
        // 获取id
        let id;
        let params = location.search.slice(1).split('&');// [id=10,username=jj]
        params.forEach(item=>{
            let arr = item.split('=');
            if(arr[0] === 'id'){
                id = arr[1];
            }
        });

        if(id){
            let xhr = new XMLHttpRequest();
            xhr.onload = function(){
                let data = JSON.parse(xhr.responseText);
                console.log('data=',data);
                goods.innerHTML = xhr.responseText;
            }
            xhr.open('get','http://localhost:2008/goods/'+id,true);
            xhr.send();
        }
    </script>
</body>
</html>